package com.gaofeng.day22.a10ThreadDemo;

public class ThreadDemo {
    public static void main(String[] args) {

        Thread t1 = new MyThread();
        Thread t2 = new MyThread();


        t1.setName("线程A");
        t2.setName("线程B");

        t1.start();
        t2.start();

    }
}
